package com.pig4cloud.pig.demotwo.feign;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.admin.api.entity.PersonEntity;
import com.pig4cloud.pig.common.core.constant.ServiceNameConstants;
import com.pig4cloud.pig.common.core.util.R;
import io.swagger.v3.oas.annotations.Operation;
import org.springdoc.api.annotations.ParameterObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remotePersonService", value = ServiceNameConstants.UMPS_SERVICE)
public interface RemotePersonService {


	@Operation(summary = "通过id查询" , description = "通过id查询" )
	@GetMapping("/person/{id}" )
	public R getById(@PathVariable("id" ) Long id);
}
